package com.zsk.mapper;

import com.zsk.entity.StudentEntity;

import java.util.List;

import org.apache.ibatis.annotations.Param;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;

/**
 * <p>
 * 学生表 Mapper 接口
 * </p>
 *
 * @author keke
 * @since 2020-07-24
 */
public interface StudentEntityMapper extends BaseMapper<StudentEntity> {

    public int myInsert(StudentEntity student);

    public int myDelete(@Param("id") String id);

    public int myUpdate(@Param("id") String id, @Param("className") String className, @Param("age") int age);

    public List<StudentEntity> mySelectByUserName(@Param("userName") String userName);

    public StudentEntity mySelectById(@Param("id") String id);

}
